import type { RouteRecordRaw } from 'vue-router';

const profileRoutes: RouteRecordRaw = {
  path: '/profile',
  name: 'Profile',
  component: () => import('@/layouts/BasicLayout.vue'),
  meta: {
    title: 'menu.profile.title',
    icon: 'user-outlined',
    hideInMenu: true,
    requiresAuth: true,
  },
  children: [
    {
      path: 'info',
      name: 'ProfileInfo',
      component: () => import('@/views/profile/info.vue'),
      meta: {
        title: 'menu.profile.info',
        icon: 'profile-outlined',
        requiresAuth: true,
      },
    },
    {
      path: 'settings',
      name: 'ProfileSettings',
      component: () => import('@/views/profile/settings.vue'),
      meta: {
        title: 'menu.profile.settings',
        icon: 'setting-outlined',
        requiresAuth: true,
      },
    },
  ],
};

export default profileRoutes; 